package com.jackrain.nea.wms.web.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.fastjson.JSONObject;
import com.jackrain.nea.web.ImportCmd;
import com.jackrain.nea.web.face.User;
import com.jackrain.nea.web.service.ImportService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author lzm
 * @date 2017-12-12
 */
@Slf4j
@Component("ImportCmdImpl-wms")
@Service(protocol="dubbo", validation="true", version="100", group= "wms")
public class ImportCmdImpl implements ImportCmd {
    @Autowired
    private ImportService importService;
    @Override
    public JSONObject dumpSmallTable(User userWeb, int columnId) throws Exception{
        return importService.dumpSmallTable(userWeb, columnId);
    }
}
